package fun.werfamily.wf.order.core.domain.dto.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: Mr.WenMing Zhang
 * @Date: 2022-08-28 11:52
 * @Description:
 */
@Data
@ApiModel("订单列表实体")
public class OrderListDTO {

    @ApiModelProperty("订单号")
    private String orderNo;

    @ApiModelProperty("订单状态:0.待付款，1.交易关闭(用户)，2.交易关闭(系统，)3.待发货，4.待收货，5.交易完成，6.退款中，7.已退款")
    private Integer orderStatus;

    @ApiModelProperty("订单状态描述")
    private String orderStatusStr;

    @ApiModelProperty("应付款金额")
    private BigDecimal orderAmount;

    @ApiModelProperty("订单实际支付金额")
    private BigDecimal orderRealPayAmount;

    @ApiModelProperty("订单商品总数量")
    private Integer goodsNum;

    @ApiModelProperty("支付时间")
    private Date payTime;

    @ApiModelProperty("订单生成时间")
    private Date createTime;

    @ApiModelProperty("商品信息")
    private OrderGoodsDTO goodsInfo;

    @ApiModelProperty("订单商品明细")
    private List<OrderGoodsDTO> orderGoodsDTOList;
}
